//Accepted
#include <cstdio>
int x, y, a, b, s, p, q;
int main(){
	//freopen("in.txt", "r", stdin);
	scanf("%d%d%d%d", &x, &y, &a, &b);
	while(x+y+a+b){
		s=a+b;
		q=x-s;
		p=y-s;
		printf("%c\n", ((s*s)>(q*q)+(p*p))?'N':(((2*a<=x)&&(2*a<=y)&&(2*b<=x)&&(2*b<=y))?'S':'N'));
		scanf("%d%d%d%d", &x, &y, &a, &b);
	}
	return 0;
}
